<?php
/*
 * @author: Nguyen Anh Duc (anhduc.bkhn@gmail.com) 
 */
?>
<div class="main_c">
    <div class="top_sp"></div>
    <div class="center_sp">
        <div class="spGridBG" name="divSP" id="spGrid_1">
            <?php foreach ($model as $p): ?>
                <div class="spGrid">
                    <div class="div1">
                        <div class="spGridTitle">
                            <a class="link_slide" href="<?php echo $p->urlByProduct; ?>">
                                <?php echo $p->title; ?>
                            </a>
                        </div>
                        <div class="clearfix">
                            <div class="home_img"><br>
                                <a href="<?php echo $p->urlByProduct; ?>" >
                                    <img border="0" src="<?php echo $p->urlPhoto; ?>">
                                </a>
                            </div>
                                 <a style="cursor: pointer;text-decoration: none" rel="nofollow" class="btnorder" href="<?php echo $p->urlByProduct; ?>" id-product="<?php echo $product->post_id; ?>" money-product="<?php echo '0'; ?>">
                                <div class="addcart" style="color:#fff;cursor:pointer;font-family:sans-serif;font-size:13px;font-weight:700;line-height:22px;text-align:center;text-decoration:none">
                                    Chi tiết
                                </div>
                            </a>

                        </div>
                    </div>
                    <div class="spGridBottom1"></div>
                </div>
            <?php endforeach; ?>

            <div style="clear: both"></div>
        </div>
        <div class="page">
        </div>
    </div>
    <div class="bottom_sp"></div>
</div>
